*** REPLICATION FILE FOR PSRM PAPER. GOOCH & VAVRECK 3/4/2016.  
** This file produces Table 5 and numbers written up as examples in paper


clear
use  "GoochVavreck_PSRM2.dta"

******************* TABLE 5 in Gooch and Vavreck ****************************
set more off

***TABLE 5 MODELS and writeup results in paper 
foreach v in ISS BEH IDEO FAV VOTE FACT {
	sum `v'
	reg `v' FTF cogsk COG AA HISP someC COLL POST INC AGE FEMALE PART PKmid PKhi
	}

*Means of DV (bottom of table 5)
sum ISS BEH IDEO FAV VOTE FACT	



** VOTE (percentage calculations on p. 34)
set more off

reg VOTE FTF cogsk COG AA HISP someC COLL POST INC AGE FEMALE PART PKmid PKhi
margins, at(FTF = 1) atmeans
margins, at(FTF = 0) atmeans

*DIFF for low to high for FAV in FTF
margins, at(FTF = 1 cogski = -1 COG = -1) atmeans
*.84
margins, at(FTF = 1 cogski = 1 COG = 1) atmeans
*.6
* DIFF for low to high for FAV in SC
margins, at(FTF = 0 cogski = -1 COG = 0) atmeans
*.59
margins, at(FTF = 0 cogski = 1 COG = 0) atmeans
*.55

disp .84-.6
disp .59-.55

*** These are the percentage calculations on p. 34
disp .24/.6
disp .04/.55
****************************************************

